<template>
  <div class="home-page">
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>
          <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item>面经后台</el-breadcrumb-item>
            <el-breadcrumb-item>数据看板</el-breadcrumb-item>
          </el-breadcrumb>

          <!-- 一行分为24份 -->
          <!-- 第一行：左占6 / 右占18 -->
          <el-row :gutter="20">
            <el-col :span="6">
              <div class="grid-content bg-one"></div>
            </el-col>
            <el-col :span="18">
              <div class="grid-content bg-two"></div>
            </el-col>

            <!-- 第二行：每个占8 -->
            <el-col :span="8">
              <div class="grid-content bg-first"></div>
            </el-col>
            <el-col :span="8">
              <div class="grid-content bg-second"></div>
            </el-col>
            <el-col :span="8">
              <div class="grid-content bg-third"></div>
            </el-col>
          </el-row>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'childrenIndex'
}
</script>

<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.home-page {
  height: 100vh;
}

.el-header {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    height: 100vh;
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

  .el-breadcrumb {
    margin-top: 10px;
    margin-bottom: 25px;
  }

  .bg-one {
    background-color: blue;
  }

  .bg-two {
    background-color: green;
  }

  .bg-first {
    background-color: pink;
  }

  .bg-second {
    background-color: skyblue;
  }

  .bg-third {
    background-color: gray;
  }

  .grid-content {
    margin-bottom: 20px;
    min-height: 500px;
  }
</style>